<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="https://baidu.com">这是一个去到百度的链接</a>
    
    <style>
        a{
            text-emphasis: none;
        }
        a:link{
            color: rgb(70, 50, 100)
        }
        a:visited{
            color:grey;
        }
        a:focus{
            color:rgb(70, 50, 100)
        }
a:hover{
    color: rgb(70, 50, 100);
    background-color: rgb(9, 245, 100);
}
a:active{
    color:rgb(9, 245, 100);
    background-color: rgb(70, 50, 100);
    
}

    </style>
</body>
<body>
    <p>p0</p>
    <h1>h1</h1>
    <p>p1</p>
    <h2>h2</h2>
    <p>p2</p>
    <h3>h3</h3>
    <p>p3</p>
    <style>
        p:last-of-type{
            color: red;
        }

    </style>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
        <li>6</li>
        <li>7</li>
    </ul>
    <style>
         li:nth-child(2n+1){
            color: red;
        }
    </style>
</body>
</html>